#! /bin/sh

name=libxaw
version=1.0.16
revision=1
tarball_url="https://www.x.org/archive/individual/lib/libXaw-${version}.tar.gz"
tarball_blake2b="d303a6b1f586ce96c6aa2505929cd019c7383d77f55ec6be27765190fcddfa7e32e896ca8497148c9771b21f09960b5de836328608261b23da8dd892b9c3ee99"
hostdeps="gcc pkg-config"
deps="core-libs libxmu libxpm"

prepare() {
    autotools_recursive_regen
}

configure() {
    autotools_configure
}

build() {
    make -j${parallelism}
}

package() {
    DESTDIR="${dest_dir}" make install

    post_package_strip
}
